package com.ticket.sass.admin.dto.output.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author ywb
 * @date 2022-03-29 11:10
 */
@Data
@ApiModel(value = "订单信息")
public class TakeTicketOrderOutPut {
    private Long id;

    @ApiModelProperty(value = "取票码")
    private String takeCode;
    
    @ApiModelProperty(value = "影片名称")
    private String filmName;
    
    @ApiModelProperty(value = "影厅名称")
    private String hallName;
    
    @ApiModelProperty(value = "场次编码")
    private String sessionCode;
    
    @ApiModelProperty(value = "开场时间")
    private LocalDateTime startTime;
    
    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;
    
    @ApiModelProperty(value = "电影票数量")
    private Integer ticketNum;
    
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    
    @ApiModelProperty(value = "手机号")
    private String cellphone;

    @ApiModelProperty("渠道编码")
    private String channelCode;

    @ApiModelProperty("渠道名称")
    private String channelName;
    
    @ApiModelProperty("票信息列表")
    private List<TakeTicketOutPut> tickets;
}
